package com.sands.network.api;


import com.sands.network.module.ObjResponse;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 使用token请求数据的service
 * Created by kunqi.lai on 2016/8/15 09:11.
 * email :781548819@qq.com
 */
public interface BaseTokenApiService {

    @FormUrlEncoded
    @POST()
    Observable<ObjResponse<Object>> baseApiAccess(@Query("access_token") String access_token, @Field("json") String json);//BaseRespone<Object>//@Path("token") String token
}
